import React, {Component} from 'react'
import {AppRegistry} from 'react-native';
// import App from './js_folder/root'
// import LoginComponent from "./js_folder/login_part/login_page";
import Practise from "./js_folder/practise";
import {StackNavigator} from 'react-navigation'
import MovieList from "./js_folder/components/MovieList";
import MovieDetail from "./js_folder/components/MovieDetail";

export default class Start extends Component {
    render() {
        return (
            <RootStack/>
        )
    }
}

const RootStack = StackNavigator({
        Home: {
            screen: Practise,
        },

        Detail: {
            screen: MovieDetail,
        },
    },
    {
        initialRouteName: 'Home',
        navigationOptions: {
            headerStyle: {
                backgroundColor: '#8d7aff',
            },
            headerTintColor: '#fff',
            headerTitleStyle: {
                fontWeight: 'bold',
            },
        },
    }
)

AppRegistry.registerComponent('RNProject', () => Start);
